package entity4wms;

import java.sql.Date;

public class Deliver{
    private Integer id;
    private Integer gid;
    private Integer uid;
    private Date date;
    private Integer number;

    public Deliver(){
        this.id = null;
        this.gid = null;
        this.uid = null;
        this.date = null;
        this.number = null;

    }

    public Deliver(Integer aid, Integer agid, Integer auid, Date adate,Integer anum){
        this.id = aid;
        this.gid = agid;
        this.uid = auid;
        this.date = adate;
        this.number = anum;
    }

    public Deliver(Integer agid, Integer auid, Date adate, Integer anum){
        this.gid = agid;
        this.uid = auid;
        this.date = adate;
        this.number = anum;
    }

    public Integer getId(){ return id; }
    public Integer getGid(){ return gid; }
    public Integer getUid(){ return uid; }
    public Date getDate(){ return date; }
    public Integer getNumber(){ return number; }

    public void setId(Integer id){ this.id = id; }  
    public void setGid(Integer gid){ this.gid = gid; }
    public void setUid(Integer uid){ this.uid = uid;}
    public void setDate(Date date){ this.date = date; }
    public void setNumber(Integer num){ this.number = num; }

    @Override
    public String toString() {
        return "deliver{" + "did=" + id + ", gid=" + gid + ", uid=" + uid + ", ddate=" + date + ", enumber=" + number + '}';
        }
}